/**
 * 
 */
package com.csc.bankingsystem.core.dao;

import java.util.List;

import com.csc.bankingsystem.core.entity.TokenRecord;

/**
 * Defined all data access operations of TokenRecord
 * @author angelkid
 *
 */
public interface TokenRecordDAO extends GenericDAO<TokenRecord>{
	TokenRecord findFirstByTokenAndUserInfoId(String tokenMD5, long userInfoId);
	List<TokenRecord> findByUserInfoId(long userInfoId);
	void delete(List<TokenRecord> listTokenRecord);
}
